package com.trestristesmicos.anahuac;

import android.app.Activity;
import android.os.Bundle;

public class TalleresActivity  extends Activity {
	

	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    	super.onCreate(savedInstanceState);
        setContentView(R.layout.talleres);
    
    }    
    
    
    
      
    
    @Override
	protected void onResume() {
		// animateIn this activity
		ActivitySwitcher.fadeIn(findViewById(R.id.container), getWindowManager());
		super.onResume();
	}
   
    @Override
	public void finish() {
		// we need to override this to performe the animtationOut on each
		// finish.
		ActivitySwitcher.fadeOut(findViewById(R.id.container), getWindowManager(), new ActivitySwitcher.AnimationFinishedListener() {
			
			public void onAnimationFinished() {
				TalleresActivity.super.finish();
				// disable default animation
				overridePendingTransition(0, 0);
			}
		});
	}
    
   
  
}
